package com.shitou.shitousearch.vo;

import com.shitou.shitoucommons.vo.Attrs;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;
import java.util.List;

/**
 * class detail:
 *
 * @author 石头人
 */
@SuppressWarnings("all")
@Data
@AllArgsConstructor
@ToString
@NoArgsConstructor
public class SearchVo implements Serializable {

    // 搜索关键字不能为空
    private String keyword;

    private Long categoryId;   // 分类
    private String category;

    private Long brandId;
    private String brand;

    private List<Attrs> attrs;

    private String order;// 0：综合排序 1：价格


    private Integer pageNum = 1;//分页信息
    private Integer pageSize = 30;

    private Integer priceFrom;//价格区间开始
    private Integer priceTo;//价格区间结束

}
